<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="dist/css/starter-template.css" rel="stylesheet">
<link href="dist/css/bootstrap.css" rel="stylesheet" type="text/css"
	media="all">
<link rel="stylesheet" href="dist/css/datepicker.css">

<title>Generate Reports</title>

</head>
<body>
		<table style="width: 60%">
			<tr>
				<td width="70%">
					<h2>Generate Attendence Report</h2>
				</td>
			</tr>
		</table>
		<hr>
		<div class="container" style="height: 410px">
	
		<form action="ServletExportReports" method="post">
			<table>
				<tr>
					<td><h3>Date :</h3></td>
					<td><div class="container" style="padding-top: 11px;">
							<div class="hero-unit" style="width: 150px">
								<input type="text" class="form-control" name="date" required="required"
									placeholder="Select date" id="datepicker">
							</div>
						</div></td>
					<td style="padding-top: 12px;"><button
							class="btn btn-sm btn-primary " type="submit">Generate
							Reports</button></td>
				</tr>
			</table>
		</form>
	</div>
</body>

<script src="dist/js/jquery-1.9.1.min.js"></script>
<script src="dist/js/bootstrap-datepicker.js"></script>
<script type="text/javascript">
	// When the document is ready
	$(document).ready(function() {

		$('#datepicker').datepicker({
			format : "mm/yyyy",
		    minViewMode: "months",
        	endDate : new Date(),
        	autoclose: true
		});
		 $("#datepicker").datepicker("setDate", new Date());
		   
		/*  $('#datepicker').datepicker().on('monthSelected', function(ev){
		        $(this).datepicker('hide');
		    }); */
        
		$("#datepicker").keydown(false);
		$('#datepicker').bind("contextmenu", function(e) {
			e.preventDefault();
		});
	});
</script>

</html>